package com.jwds.digital.bios.business.service.service.basic;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jwds.digital.bios.business.core.infrastructure.dto.basic.BasicOperateLogReqDTO;
import com.jwds.digital.bios.business.core.infrastructure.entity.basic.BasicOperateLog;
import com.jwds.digital.bios.business.core.infrastructure.vo.basic.BasicOperateLogRespVO;
import com.jwds.tdc.framework.application.lib.page.PageRequest;
import com.jwds.tdc.framework.application.lib.page.PageResponse;

import java.util.List;

/**
 * @Description IBasicOperateLogService
 * @Author xiao  xun
 * @Date 2024-12-07
 */
public interface IBasicOperateLogService extends IService<BasicOperateLog> {
    /**
     * 分页查询
     * @param pageRequest
     * @return
     */
    PageResponse<BasicOperateLogRespVO> page(PageRequest<BasicOperateLogReqDTO> pageRequest);

    /**
     * 列表查询
     * @param reqDto
     * @return
     */
    List<BasicOperateLogRespVO> list(BasicOperateLogReqDTO reqDto);

    /**
     * 新增
     * @param reqDto
     */
    void add(BasicOperateLogReqDTO reqDto);

    /**
     * 批量新增
     * @param reqDtoList
     */
    void batchAdd(List<BasicOperateLogReqDTO> reqDtoList);

    /**
     * 更新
     * @param reqDto
     */
    void update(BasicOperateLogReqDTO reqDto);

    /**
     * 删除
     * @param id
     */
    void delete(Long id);

    /**
     * 批量删除
     * @param ids
     */
    void batchDelete(List<Long> ids);

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    BasicOperateLogRespVO queryById(Long id);
}
